<template>
	<view class="container">
		<view class="page-top">
			<u-navbar title="免费领T恤" back-icon-color="#fff" title-color="#fff" :background="background" :border-bottom="false"></u-navbar>
			<view class="activityview">
				<view class="activitytop">
					<text class="activitytitle">免费送XX平台T恤</text>
					<text class="activitytext">限时活动</text>
				</view>
				<view class="activitygoods">
					<swiper :indicator-dots="true" indicator-color="#fff" indicator-active-color="#FFBF00">
						<swiper-item>
							<view class="goodsimage">
								<image src="/static/img_200.png" mode=""></image>
							</view>
						</swiper-item>
						<swiper-item>
							<view class="goodsimage">
								<image src="/static/img_200.png" mode=""></image>
							</view>
						</swiper-item>
					</swiper>
					<!-- 选择款式 -->
					<view class="selectks">
						<text class="viewtitle">选择款式</text>
						<view class="clothemodel activemodel">
							<text>X</text>
						</view>
						<view class="clothemodel">
							<text>XL</text>
						</view>
						<view class="clothemodel">
							<text>XXL</text>
						</view>
						<view class="clothemodel">
							<text>XXXL</text>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="pagemiddle">
			<view class="middle-left">
				<text class="middle-left-top">获取方式</text>
				<view class="middle-left-texts">
					<text>1.认证工匠</text>
					<text>2.推广3名好友下载APP</text>
					<text>3.积分满500兑换</text>
				</view>
			</view>
			<image src="/static/img_284.png" mode=""></image>
		</view>
		<view class="finalstep">
			<text class="finalstep_title">完成进度</text>
			<view class="finalstep_texts">
				<text>1.认证工匠成功</text>
				<text>2.完成进度1/2</text>
				<text>3.积分300/500</text>
			</view>
		</view>
		<view class="pagebottom">
			<image src="/static/img_285.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				background:{
					backgroundColor:'transparent'
				}
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
    page{
		width: 100%;
		height: 100%;
	}
	.container{
		width: 100%;
		min-height: 100%;
		.page-top{
			width: 100%;
			height: auto;
			padding-bottom: 30rpx;
			background: url('/static/img_280.png') no-repeat;
			background-size: 100% 100%;
		}
		.activityview{
			width: 680rpx;
			margin:auto;
			height: auto;
			.activitytop{width: 100%;height: 80rpx;display: flex;align-items:flex-end;color:#fff;}
			.activitytitle{font-size: 35rpx;}
			.activitytext{font-size: 25rpx;margin-left: 20rpx;}
		}
		.activitygoods{
			width: 100%;
			height: auto;
			margin-top: 50rpx;
			swiper{
				width: 680rpx;
				height: 680rpx;
			}
			.goodsimage{
				width: 100%;
			    height: 100%;
				image{
					width: 100%;
					height: 100%;
					border-top-left-radius: 10rpx;
					border-top-right-radius:10rpx;
				}
			}
		}
		.selectks{
			background-color: #EBEBEB;
			width: 100%;
		    height:100rpx;
			border-bottom-left-radius:  10rpx;
			border-bottom-right-radius: 10rpx;
			display: flex;
			align-items: center;
			.viewtitle{margin-left: 20rpx;font-size: 28rpx;}
			.clothemodel{
				margin-left: 20rpx;
				width: 110rpx;
				height: 60rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 28rpx;
				background-color: #FFFFFF;
				border-radius: 5rpx;
			}
			.activemodel{background-color: #83CCFF;color: #FFFFFF;}
		}
		.pagemiddle{
			width: 100%;
			height: auto;
			padding-bottom: 20rpx;
			background-color: #FFFFFF;
			display: flex;
			justify-content: space-between;
			align-items: center;
			image{width:220rpx;height: 300rpx;margin-right: 50rpx;}
			.middle-left{
				margin-left: 35rpx;
			}
			.middle-left-top{
			   padding-left: 15rpx;
			   width: 100%;
			   height: auto;
			   border-left:4rpx solid #FF9E5D;
			   font-size: 30rpx;
			}
			.middle-left-texts{
				width: 100%;
				height: auto;
				text{display: block;width: 100%;margin-top: 20rpx;font-size: 30rpx;}
			}
		}
		.finalstep{
			width: 710rpx;
			border-radius: 15rpx;
			background-color: #F3F3F3;
			padding-top: 20rpx;
			padding-bottom: 20rpx;
			margin: auto;
			.finalstep_title{font-size: 30rpx;margin-left: 15rpx;}
			.finalstep_texts{
				width: 680rpx;
				margin: auto;
				text{display:block;width: 100%;margin-top: 20rpx;}
			}
		}
		.pagebottom{
			width: 100%;
			height: 150rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			image{width: 250rpx;height: 80rpx;}
		}
	}
</style>
